package org.bootstrap.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.websocket.server.PathParam;

@Controller
public class AuthController {
    @GetMapping("auth")
    public @ResponseBody String index(@PathParam("id") String id, @PathParam("name") String name) {
        return id;
    }
}
